import {
    legacy_createStore,
    combineReducers,
    applyMiddleware,
} from 'redux'

import thunk from 'redux-thunk'
import logger from 'redux-logger'

import reduce from './reduces/reduce'

const All_Reducer =  combineReducers({
    reduce
})

const store = legacy_createStore(All_Reducer,applyMiddleware(thunk,logger))

export default store